<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>医疗机构详细信息</title>
<link rel="stylesheet" href="./styles/style.css" type="text/css" />
<link rel="stylesheet" href="./styles/table.css" type="text/css" />
<script src="./script/common.js"></script>
<script type="text/javascript">
$import("rpc.js");
$import("My97DatePicker/WdatePicker.js");
$import("html/form.js");

var caseId;
function onLoad()
{
	var inParameter = window.dialogArguments;
	caseId = inParameter.id;

	var callback = function(result)
  	{
		var formatters = 
		{
			"birthdate": ruite.format.date,
			"makedate": ruite.format.date
		};
		ruite.form.decode(result.tcase, $("user_base_form"), formatters);
  	}
	
  	var operation = new Operation("系统.列病例详细信息");
  	operation.identify = caseId;
  	operation.execute(callback);
}
</script>
</head>
<body onLoad="onLoad();">
<div id="ur_here"><img src="./images/icon_here.gif" style="align:absmiddle" align="absmiddle"/> 病例详细信息 </div>
<div id="wrap">
<div id="containaer" >
	<div class="title" id="result"></div>
	<!-- 结果展示div -->
	<div id="container">
		<form id="user_base_form">
				<table cellpadding=0 cellspacing=0 border=0 width="100%" class="form_table">
					<tr class='tablecell'>
						<td class="tit" width="100px">病案ID：</td>
						<td class="inp" width="120px">
							<input name="identify" type="text" value="" class="form_input_s"/>
						</td>
						<td class="tit" width="100px">登记号：</td>
						<td class="inp" width="120px">
							<input name="regno" type="text" value="" class="form_input_m"/>
						</td>
					</tr>
					<tr class='tablecell'>
						<td class="tit">首诊断地区：</td>
						<td class="inp">
							<input name="szddq" type="text" value="" class="form_input_m"/>
						</td>
						<td class="tit">首诊断单位：</td>
						<td class="inp">
							<input name="szddw" type="text" value="" class="form_input_m"/>
						</td>
					</tr>
					<tr class='tablecell'>
						<td class="tit">首管理单位：</td>
						<td class="inp">
							<input name="sgldw" type="text" class="form_input_m"></select>
						</td>
						<td class="tit" >患者姓名：</td>
						<td class="inp">
							<input name="hzname" type="text" value="" class="form_input_s"/>
						</td>
					</tr>
					<tr class='tablecell'>
						<td class="tit">性别：</td>
						<td class="inp">
							<select name="sex" class="form_input_s">
								<option value="true">男</option>
								<option value="false">女</option>
							</select>
					
						</td>
						<td class="tit">出生日期：</td>
						<td class="inp">
							<input name="birthdate" type="text" onclick='WdatePicker()' class="form_input_s"/>
						</td>
					</tr>
					
					<tr class='tablecell'>
						<td class="tit" >年龄：</td>
						<td class="inp">
							<input name="age" type="text" value="" class="form_input_s"/>
						</td>
						<td class="tit">民族：</td>
						<td class="inp">
							<input name="mz" type="text" value="" class="form_input_s"/>
						</td>
					</tr>
					<tr class='tablecell'>
						<td class="tit" >现地址详细：</td>
						<td class="inp">
							<input name="address" type="text" value="" class="form_input_s"/>
						</td>
						<td class="tit">本次确诊日期：</td>
						<td class="inp">
							<input name="makedate" type="text" onclick='WdatePicker()' value="" class="form_input_s"/>
						</td>
					</tr>
				</table>
				</form>
	</div> 
</div>
</div>
</body>
</html>